package com.jihui.user.service;

import com.jihui.user.model.JihuiUser;
import org.springframework.stereotype.Service;

/**
 * 用户相关service
 */
public interface UserService {
     void sayHello(String name);
     void save(JihuiUser jihuiUser);
     /**
      * 通过用户登录名查找用户
      *
      * @param userName 用户名称
      * @return 返回账户列表
      */
     JihuiUser login(String userName,String password, String ip) throws Exception;
}
